package com.shop.cereshop.business.service.business;

import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.business.page.advice.BusinessAdviceVO;
import com.shop.cereshop.commons.domain.business.CereBusinessAdvice;

/**
 * 商家经营建议服务接口
 */
public interface CereBusinessAdviceService {

    /**
     * 保存商家经营建议
     * @param cereBusinessAdvice 经营建议实体
     */
    void save(CereBusinessAdvice cereBusinessAdvice);

    /**
     * 更新商家经营建议
     * @param cereBusinessAdvice 经营建议实体
     */
    void update(CereBusinessAdvice cereBusinessAdvice);

    /**
     * 删除商家经营建议
     * @param adviceId 建议ID
     */
    void delete(Long adviceId);

    /**
     * 根据ID获取商家经营建议
     * @param adviceId 建议ID
     * @return 经营建议实体
     */
    CereBusinessAdvice getById(Long adviceId);

    /**
     * 根据商家ID获取商家经营建议
     * @param pageNum 页码
     * @param pageSize 页大小
     * @return 经营建议列表
     */
    Page<BusinessAdviceVO> findByShopId(Integer pageNum, Integer pageSize, Long shopId);
}